<template>
  <div class="main_container">
    <!-- 路由占位符 -->
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
    <!-- 底部tabBar -->
    <van-tabbar route fixed>
      <van-tabbar-item icon="home-o" to="/main/home">主页</van-tabbar-item>
      <van-tabbar-item icon="more-o" to="/main/message">消息</van-tabbar-item>
      <van-tabbar-item icon="user-o" to="/main/mine">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "Main",
};
</script>

<style lang="less" scoped></style>
